home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nejlepší České Hry
/
Nej české hry.iso
/
hry
/
vulvara
/
Vulvara.exe
/
scripts
/
frame_9336
/
DoAction.as
Wrap
Text File
|
2004-10-08
|
12KB
|
722 lines
setProperty("u", _X, xx);
setProperty("u", _Y, yy);
if(xx == z1x)
{
if(yy == z1y)
{
gotoAndStop(9339);
}
}
if(xx == z2x)
{
if(yy == z2y)
{
gotoAndStop(9339);
}
}
if(xx == z3x)
{
if(yy == z3y)
{
gotoAndStop(9339);
}
}
if(xx == z4x)
{
if(yy == z4y)
{
gotoAndStop(9339);
}
}
if(xx == z5x)
{
if(yy == z5y)
{
gotoAndStop(9339);
}
}
if(xx == 280)
{
if(yy == 0)
{
gotoAndStop(9340);
}
}
z1 = random(18) + 1;
z2 = random(18) + 1;
z3 = random(18) + 1;
z4 = random(18) + 1;
z5 = random(18) + 1;
if(z1 == 1)
{
setProperty("z1", _X, "40");
setProperty("z1", _Y, "0");
z1x = "40";
z1y = "0";
}
if(z1 == 2)
{
setProperty("z1", _X, "160");
setProperty("z1", _Y, "0");
z1y = "0";
z1x = "160";
}
if(z1 == 3)
{
setProperty("z1", _X, "400");
setProperty("z1", _Y, "0");
z1y = "0";
z1x = "400";
}
if(z1 == 4)
{
setProperty("z1", _X, "520");
setProperty("z1", _Y, "0");
z1y = "0";
z1x = "520";
}
if(z1 == 5)
{
setProperty("z1", _X, "40");
setProperty("z1", _Y, "120");
z1x = "40";
z1y = "120";
}
if(z1 == 6)
{
setProperty("z1", _X, "160");
setProperty("z1", _Y, "120");
z1y = "120";
z1x = "160";
}
if(z1 == 7)
{
setProperty("z1", _X, "280");
setProperty("z1", _Y, "120");
z1y = "120";
z1x = "280";
}
if(z1 == 8)
{
setProperty("z1", _X, "400");
setProperty("z1", _Y, "120");
z1y = "120";
z1x = "400";
}
if(z1 == 9)
{
setProperty("z1", _X, "520");
setProperty("z1", _Y, "120");
z1y = "120";
z1x = "520";
}
if(z1 == 10)
{
setProperty("z1", _X, "40");
setProperty("z1", _Y, "240");
z1y = "240";
}
if(z1 == 11)
{
setProperty("z1", _X, "160");
setProperty("z1", _Y, "240");
z1y = "240";
z1x = "160";
}
if(z1 == 12)
{
setProperty("z1", _X, "280");
setProperty("z1", _Y, "240");
z1y = "240";
z1x = "280";
}
if(z1 == 13)
{
setProperty("z1", _X, "400");
setProperty("z1", _Y, "240");
z1y = "240";
z1x = "400";
}
if(z1 == 14)
{
setProperty("z1", _X, "520");
setProperty("z1", _Y, "240");
z1y = "240";
z1x = "520";
}
if(z1 == 15)
{
setProperty("z1", _X, "40");
setProperty("z1", _Y, "360");
z1x = "40";
z1y = "360";
}
if(z1 == 16)
{
setProperty("z1", _X, "160");
setProperty("z1", _Y, "360");
z1y = "360";
z1x = "160";
}
if(z1 == 17)
{
setProperty("z1", _X, "400");
setProperty("z1", _Y, "360");
z1y = "360";
z1x = "400";
}
if(z1 == 18)
{
setProperty("z1", _X, "520");
setProperty("z1", _Y, "360");
z1y = "360";
z1x = "520";
}
if(z2 == 1)
{
setProperty("z2", _X, "40");
setProperty("z2", _Y, "0");
z2x = "40";
z2y = "0";
}
if(z2 == 2)
{
setProperty("z2", _X, "160");
setProperty("z2", _Y, "0");
z2y = "0";
z2x = "160";
}
if(z2 == 3)
{
setProperty("z2", _X, "400");
setProperty("z2", _Y, "0");
z2y = "0";
z2x = "400";
}
if(z2 == 4)
{
setProperty("z2", _X, "520");
setProperty("z2", _Y, "0");
z2y = "0";
z2x = "520";
}
if(z2 == 5)
{
setProperty("z2", _X, "40");
setProperty("z2", _Y, "120");
z2x = "40";
z2y = "120";
}
if(z2 == 6)
{
setProperty("z2", _X, "160");
setProperty("z2", _Y, "120");
z2y = "120";
z2x = "160";
}
if(z2 == 7)
{
setProperty("z2", _X, "280");
setProperty("z2", _Y, "120");
z2y = "120";
z2x = "280";
}
if(z2 == 8)
{
setProperty("z2", _X, "400");
setProperty("z2", _Y, "120");
z2y = "120";
z2x = "400";
}
if(z2 == 9)
{
setProperty("z2", _X, "520");
setProperty("z2", _Y, "120");
z2y = "120";
z2x = "520";
}
if(z2 == 10)
{
setProperty("z2", _X, "40");
setProperty("z2", _Y, "240");
z2x = "40";
z2y = "240";
}
if(z2 == 11)
{
setProperty("z2", _X, "160");
setProperty("z2", _Y, "240");
z2y = "240";
z2x = "160";
}
if(z2 == 12)
{
setProperty("z2", _X, "280");
setProperty("z2", _Y, "240");
z2y = "240";
z2x = "280";
}
if(z2 == 13)
{
setProperty("z2", _X, "400");
setProperty("z2", _Y, "240");
z2y = "240";
z2x = "400";
}
if(z2 == 14)
{
setProperty("z2", _X, "520");
setProperty("z2", _Y, "240");
z2y = "240";
z2x = "520";
}
if(z2 == 15)
{
setProperty("z2", _X, "40");
setProperty("z2", _Y, "360");
z2x = "40";
z2y = "360";
}
if(z2 == 16)
{
setProperty("z2", _X, "160");
setProperty("z2", _Y, "360");
z2y = "360";
z2x = "160";
}
if(z2 == 17)
{
setProperty("z2", _X, "400");
setProperty("z2", _Y, "360");
z2y = "360";
z2x = "400";
}
if(z2 == 18)
{
setProperty("z2", _X, "520");
setProperty("z2", _Y, "360");
z2y = "360";
z2x = "520";
}
if(z3 == 1)
{
setProperty("z3", _X, "40");
setProperty("z3", _Y, "0");
z3x = "40";
z3y = "0";
}
if(z3 == 2)
{
setProperty("z3", _X, "160");
setProperty("z3", _Y, "0");
z3y = "0";
z3x = "160";
}
if(z3 == 3)
{
setProperty("z3", _X, "400");
setProperty("z3", _Y, "0");
z3y = "0";
z3x = "400";
}
if(z3 == 4)
{
setProperty("z3", _X, "520");
setProperty("z3", _Y, "0");
z3y = "0";
z3x = "520";
}
if(z3 == 5)
{
setProperty("z3", _X, "40");
setProperty("z3", _Y, "120");
z3x = "40";
z3y = "120";
}
if(z3 == 6)
{
setProperty("z3", _X, "160");
setProperty("z3", _Y, "120");
z3y = "120";
z3x = "160";
}
if(z3 == 7)
{
setProperty("z3", _X, "280");
setProperty("z3", _Y, "120");
z3y = "120";
z3x = "280";
}
if(z3 == 8)
{
setProperty("z3", _X, "400");
setProperty("z3", _Y, "120");
z3y = "120";
z3x = "400";
}
if(z3 == 9)
{
setProperty("z3", _X, "520");
setProperty("z3", _Y, "120");
z3y = "120";
z3x = "520";
}
if(z3 == 10)
{
setProperty("z3", _X, "40");
setProperty("z3", _Y, "240");
z3x = "40";
z3y = "240";
}
if(z3 == 11)
{
setProperty("z3", _X, "160");
setProperty("z3", _Y, "240");
z3y = "240";
z3x = "160";
}
if(z3 == 12)
{
setProperty("z3", _X, "280");
setProperty("z3", _Y, "240");
z3y = "240";
z3x = "280";
}
if(z3 == 13)
{
setProperty("z3", _X, "400");
setProperty("z3", _Y, "240");
z3y = "240";
z3x = "400";
}
if(z3 == 14)
{
setProperty("z3", _X, "520");
setProperty("z3", _Y, "240");
z3y = "240";
z3x = "520";
}
if(z3 == 15)
{
setProperty("z3", _X, "40");
setProperty("z3", _Y, "360");
z3x = "40";
z3y = "360";
}
if(z3 == 16)
{
setProperty("z3", _X, "160");
setProperty("z3", _Y, "360");
z3y = "360";
z3x = "160";
}
if(z3 == 17)
{
setProperty("z3", _X, "400");
setProperty("z3", _Y, "360");
z3y = "360";
z3x = "400";
}
if(z3 == 18)
{
setProperty("z3", _X, "520");
setProperty("z3", _Y, "360");
z3y = "360";
z3x = "520";
}
if(z4 == 1)
{
setProperty("z4", _X, "40");
setProperty("z4", _Y, "0");
z4x = "40";
z4y = "0";
}
if(z4 == 2)
{
setProperty("z4", _X, "160");
setProperty("z4", _Y, "0");
z4y = "0";
z4x = "160";
}
if(z4 == 3)
{
setProperty("z4", _X, "400");
setProperty("z4", _Y, "0");
z4y = "0";
z4x = "400";
}
if(z4 == 4)
{
setProperty("z4", _X, "520");
setProperty("z4", _Y, "0");
z4y = "0";
z4x = "520";
}
if(z4 == 5)
{
setProperty("z4", _X, "40");
setProperty("z4", _Y, "120");
z4x = "40";
z4y = "120";
}
if(z4 == 6)
{
setProperty("z4", _X, "160");
setProperty("z4", _Y, "120");
z4y = "120";
z4x = "160";
}
if(z4 == 7)
{
setProperty("z4", _X, "280");
setProperty("z4", _Y, "120");
z4y = "120";
z4x = "280";
}
if(z4 == 8)
{
setProperty("z4", _X, "400");
setProperty("z4", _Y, "120");
z4y = "120";
z4x = "400";
}
if(z4 == 9)
{
setProperty("z4", _X, "520");
setProperty("z4", _Y, "120");
z4y = "120";
z4x = "520";
}
if(z4 == 10)
{
setProperty("z4", _X, "40");
setProperty("z4", _Y, "240");
z4x = "40";
z4y = "240";
}
if(z4 == 11)
{
setProperty("z4", _X, "160");
setProperty("z4", _Y, "240");
z4y = "240";
z4x = "160";
}
if(z4 == 12)
{
setProperty("z4", _X, "280");
setProperty("z4", _Y, "240");
z4y = "240";
z4x = "280";
}
if(z4 == 13)
{
setProperty("z4", _X, "400");
setProperty("z4", _Y, "240");
z4y = "240";
z4x = "400";
}
if(z4 == 14)
{
setProperty("z4", _X, "520");
setProperty("z4", _Y, "240");
z4y = "240";
z4x = "520";
}
if(z4 == 15)
{
setProperty("z4", _X, "40");
setProperty("z4", _Y, "360");
z4x = "40";
z4y = "360";
}
if(z4 == 16)
{
setProperty("z4", _X, "160");
setProperty("z4", _Y, "360");
z4y = "360";
z4x = "160";
}
if(z4 == 17)
{
setProperty("z4", _X, "400");
setProperty("z4", _Y, "360");
z4y = "360";
z4x = "400";
}
if(z4 == 18)
{
setProperty("z4", _X, "520");
setProperty("z4", _Y, "360");
z4y = "360";
z4x = "520";
}
if(z5 == 1)
{
setProperty("z5", _X, "40");
setProperty("z5", _Y, "0");
z5x = "40";
z5y = "0";
}
if(z5 == 2)
{
setProperty("z5", _X, "160");
setProperty("z5", _Y, "0");
z5y = "0";
z5x = "160";
}
if(z5 == 3)
{
setProperty("z5", _X, "400");
setProperty("z5", _Y, "0");
z5y = "0";
z5x = "400";
}
if(z5 == 4)
{
setProperty("z5", _X, "520");
setProperty("z5", _Y, "0");
z5y = "0";
z5x = "520";
}
if(z5 == 5)
{
setProperty("z5", _X, "40");
setProperty("z5", _Y, "120");
z5x = "40";
z5y = "120";
}
if(z5 == 6)
{
setProperty("z5", _X, "160");
setProperty("z5", _Y, "120");
z5y = "120";
z5x = "160";
}
if(z5 == 7)
{
setProperty("z5", _X, "280");
setProperty("z5", _Y, "120");
z5y = "120";
z5x = "280";
}
if(z5 == 8)
{
setProperty("z5", _X, "400");
setProperty("z5", _Y, "120");
z5y = "120";
z5x = "400";
}
if(z5 == 9)
{
setProperty("z5", _X, "520");
setProperty("z5", _Y, "120");
z5y = "120";
z5x = "520";
}
if(z5 == 10)
{
setProperty("z5", _X, "40");
setProperty("z5", _Y, "240");
z5x = "40";
z5y = "240";
}
if(z5 == 11)
{
setProperty("z5", _X, "160");
setProperty("z5", _Y, "240");
z5y = "240";
z5x = "160";
}
if(z5 == 12)
{
setProperty("z5", _X, "280");
setProperty("z5", _Y, "240");
z5y = "240";
z5x = "280";
}
if(z5 == 13)
{
setProperty("z5", _X, "400");
setProperty("z5", _Y, "240");
z5y = "240";
z5x = "400";
}
if(z5 == 14)
{
setProperty("z5", _X, "520");
setProperty("z5", _Y, "240");
z5y = "240";
z5x = "520";
}
if(z5 == 15)
{
setProperty("z5", _X, "40");
setProperty("z5", _Y, "360");
z5x = "40";
z5y = "360";
}
if(z5 == 16)
{
setProperty("z5", _X, "160");
setProperty("z5", _Y, "360");
z5y = "360";
z5x = "160";
}
if(z4 == 17)
{
setProperty("z5", _X, "400");
setProperty("z5", _Y, "360");
z5y = "360";
z5x = "400";
}
if(z5 == 18)
{
setProperty("z5", _X, "520");
setProperty("z5", _Y, "360");
z5y = "360";
z5x = "520";
}
if(xx == z1x)
{
if(yy == z1y)
{
gotoAndStop(9339);
}
}
if(xx == z2x)
{
if(yy == z2y)
{
gotoAndStop(9339);
}
}
if(xx == z3x)
{
if(yy == z3y)
{
gotoAndStop(9339);
}
}
if(xx == z4x)
{
if(yy == z4y)
{
gotoAndStop(9339);
}
}
if(xx == z5x)
{
if(yy == z5y)
{
gotoAndStop(9339);
}
}
if(xx == 280)
{
if(yy == 0)
{
gotoAndStop(9340);
}
}
stop();